package mx.com.zl0.scheduler.tasks;

import static mx.com.zl0.util.Util.formatDateToString;
import static mx.com.zl0.util.Util.getFechaActual;
import mx.com.zl0.scheduler.iterator.ScheduleIterator;

public class DummyTask extends SchedulerTask {
//	private static final Logger logger = Logger.getLogger(DummyTask.class);
		
	public DummyTask(ScheduleIterator scheduleIterator, String id, boolean runAtInit) {		
		super(scheduleIterator, id, runAtInit);
	}

	public void run() {
		Thread.currentThread().setName(getId());
		System.out.println(getId() + " - Fecha actual: ".concat(formatDateToString(getFechaActual(), "dd/MMMM/yyyy hh:mm:ss.SSS a")));
//		logger.info("Fecha actual: ".concat(formatDateToString(getFechaActual(), "dd/MMMM/yyyy hh:mm:ss.SSS a")));
    }
}